<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>项目子系统登陆</title>

    <meta name="description" content="User login page" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
    <link rel="stylesheet" href="assets/font-awesome/4.5.0/css/font-awesome.min.css" />

    <!-- text fonts -->
    <!-- <link rel="stylesheet" href="assets/css/fonts.googleapis.com.css" /> -->

    <!-- ace styles -->
    <link rel="stylesheet" href="assets/css/ace.min.css" />

    <!--[if lte IE 9]>
			<link rel="stylesheet" href="assets/css/ace-part2.min.css" />
		<![endif]-->
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />

</head>

<body class="login-layout">
    <div class="main-container">
        <div class="main-content">
            <div class="row">
                <div class="col-sm-10 col-sm-offset-1">
                    <div class="login-container">
                        <div class="center">
                            <h1>
                                <i class="ace-icon fa fa-leaf green"></i>
                                <span class="red">项目管理子系统</span>
                            </h1>
                            <h4 class="light-green" id="id-company-text">用户登录</h4>
                        </div>

                        <div class="space-6"></div>

                        <div class="position-relative">
                            <div id="login-box" class="login-box visible widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header blue lighter bigger">
                                            <i class="ace-icon fa fa-coffee green"></i>
                                            请输入您的账号和密码
                                        </h4>

                                        <div class="space-6"></div>

                                        <form>
                                            <fieldset>
                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="text" class="form-control" placeholder="用户名"
                                                            id="login_name" />
                                                        <i class="ace-icon fa fa-user"></i>
                                                    </span>
                                                </label>

                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="password" class="form-control" placeholder="密码"
                                                            id="login_password" />
                                                        <i class="ace-icon fa fa-lock"></i>
                                                    </span>
                                                </label>

                                                <div class="space"></div>

                                                <div class="toolbar clearfix">
                                                    <label class="inline">
                                                        <input type="checkbox" class="ace" />
                                                        <span class="lbl">记住密码</span>
                                                    </label>

                                                    <a class="width-32 pull-right btn btn-sm btn-grey"
                                                        data-target="#forgot-box">
                                                        <i class="ace-icon fa fa-key"></i>
                                                        <span class="bigger-110">忘记密码</span>
                                                    </a>

                                                    <a class="width-32  btn btn-sm btn-warning register"
                                                        data-target="#signup-box">
                                                        <i class="ace-icon fa fa-registered"></i>
                                                        <span class="bigger-110">注册</span>
                                                    </a>
                                                </div>

                                                <div class="space-4"></div>
                                            </fieldset>
                                        </form>

                                    </div><!-- /.widget-main -->

                                    <div class="loginbar clearfix" id="login_div">
                                        <div style="width: 100%; text-align: center;line-height: 40px;font-size: 16px;">
                                            <button id="login_btn">
                                                登陆
                                            </button>
                                        </div>
                                    </div>
                                </div><!-- /.widget-body -->
                            </div><!-- /.login-box -->

                            <div id="forgot-box" class="forgot-box widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header red lighter bigger">
                                            <i class="ace-icon fa fa-key"></i>
                                            找回密码
                                        </h4>

                                        <div class="space-6"></div>
                                        <p>
                                            请输入您的邮箱
                                        </p>

                                        <form>
                                            <fieldset>
                                                <label class="block clearfix" id="email_line">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="email" class="form-control" placeholder="注册邮箱"
                                                            id="email_address" />
                                                        <i class="ace-icon fa fa-envelope"></i>
                                                    </span>
                                                </label>

                                                <div id="code_line">
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="email" class="form-control" placeholder="验证码"
                                                                id="code" />
                                                            <i class="ace-icon fa fa-envelope"></i>
                                                        </span>
                                                    </label>
                                                </div>

                                                <div class="clearfix" id="getCodeBtn">
                                                    <button type="button"
                                                        class="width-35 pull-right btn btn-sm btn-danger"
                                                        onclick="getCode()">
                                                        <i class="ace-icon fas fa-lightbulb"></i>
                                                        <span class="bigger-110">获取验证码</span>
                                                    </button>
                                                </div>
                                                <div class="clearfix" id="rGetCodeBtn">
                                                    <button type="button"
                                                        class="width-35 pull-right btn btn-sm btn-primary"
                                                        onclick="getCode()">
                                                        <i class="ace-icon fas fa-lightbulb"></i>
                                                        <span class="bigger-110">重新获取</span>
                                                    </button>
                                                </div>

                                                <div class="clearfix" id="sendCodeBtn">
                                                    <button type="button"
                                                        class="width-35 pull-right btn btn-sm btn-danger"
                                                        onclick="sendCode()">
                                                        <i class="ace-icon fas fa-lightbulb"></i>
                                                        <span class="bigger-110">确认</span>
                                                    </button>
                                                </div>
                                            </fieldset>
                                        </form>
                                    </div><!-- /.widget-main -->

                                    <div class="toolbar center">
                                        <a href="#" data-target="#login-box" class="back-to-login-link">
                                            返回登陆界面
                                            <i class="ace-icon fa fa-arrow-right"></i>
                                        </a>
                                    </div>
                                </div><!-- /.widget-body -->
                            </div><!-- /.forgot-box -->

                            <div id="signup-box" class="signup-box widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header green lighter bigger">
                                            <i class="ace-icon fa fa-users blue"></i>
                                            新用户注册
                                        </h4>

                                        <div class="space-6"></div>
                                        <p> 请选择角色并完善信息：</p>

                                        <form id="register_form">
                                            <fieldset>
                                                <div class="block clearfix" style="text-align: center">
                                                    <input class="group_role" type="checkbox" id='group_leader'
                                                        name=group_people value="组长" />
                                                    <label for="group_leader">组长</label>
                                                    <input class="group_role" type="checkbox" id='group_member'
                                                        name=group_people value="组员" />
                                                    <label for="group_member">组员</label>
                                                </div>

                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="email" class="form-control" id=email name=email
                                                            placeholder="邮箱" />
                                                        <i class="ace-icon fa fa-envelope"></i>
                                                    </span>
                                                    <span id="email_exc"></span>
                                                </label>


                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="text" class="form-control" id=mobile name=mobile
                                                            placeholder="手机" />
                                                        <i class="ace-icon fa fa-envelope"></i>
                                                    </span>
                                                    <span id="mobile_exc"></span>
                                                </label>

                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="text" class="form-control" id=realName
                                                            name=Realname placeholder="姓名" />
                                                        <i class="ace-icon fa fa-user"></i>
                                                    </span>

                                                </label>
                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="text" class="form-control" id=userName
                                                            name=userName placeholder="登录名" />
                                                        <i class="ace-icon fa fa-user"></i>
                                                    </span>
                                                    <span id="login_exc"></span>
                                                </label>

                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="password" class="form-control" id=password
                                                            name=password placeholder="密码" />
                                                        <i class="ace-icon fa fa-lock"></i>
                                                    </span>
                                                    <span id="password_exc"></span>
                                                </label>

                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="password" class="form-control" id=r_password
                                                            name=r_password placeholder="重复密码" />
                                                        <i class="ace-icon fa fa-retweet"></i>
                                                    </span>
                                                    <span id="r_password_exc"></span>
                                                </label>

                                                <label class="block">
                                                    <input type="checkbox" class="ace" id="agree_or_not"
                                                        name="agree_or_not" />
                                                    <span class="lbl">
                                                        我已阅读并同意
                                                        <a href="privacy/privacy.html">相关服务条款和隐私政策</a>
                                                    </span>
                                                </label>

                                                <div class="space-24"></div>

                                                <div class="clearfix">
                                                    <button type="reset" class="width-30 pull-left btn btn-sm">
                                                        <i class="ace-icon fa fa-refresh"></i>
                                                        <span class="bigger-110">重置</span>
                                                    </button>

                                                    <button type="button"
                                                        class="width-65 pull-right btn btn-sm btn-success"
                                                        onclick="register();">
                                                        <span class="bigger-110">提交</span>

                                                        <i class="ace-icon fa fa-arrow-right icon-on-right"></i>
                                                    </button>
                                                </div>
                                            </fieldset>
                                        </form>
                                    </div>

                                    <div class="toolbar center">
                                        <a href="#" data-target="#login-box" class="back-to-login-link">
                                            <i class="ace-icon fa fa-arrow-left"></i>
                                            返回登录
                                        </a>
                                    </div>
                                </div><!-- /.widget-body -->
                            </div><!-- /.signup-box -->
                        </div><!-- /.position-relative -->

                        <div class="navbar-fixed-top align-right">
                            <div style="font-size: 20px;">
                                <br />
                                &nbsp;
                                <a id="btn-login-dark" href="#">原界面</a>
                                &nbsp;
                                <span class="blue">/</span>
                                &nbsp;
                                <a id="btn-login-blur" href="#">暗色</a>
                                &nbsp;
                                <span class="blue">/</span>
                                &nbsp;
                                <a id="btn-login-light" href="#">亮色</a>
                                &nbsp; &nbsp; &nbsp;
                            </div>
                        </div>
                    </div>
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.main-content -->
    </div><!-- /.main-container -->

    <!-- basic scripts -->

    <!--[if !IE]> -->
    <script src="assets/js/jquery-2.1.4.min.js"></script>

    <script src="login.js"></script>
</body>

</html>